Optimal. Leaf size=139 \[ -\frac {35 b^3 \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {x}}{\sqrt {a x+b \sqrt {x}}}\right )}{4 a^{9/2}}+\frac {35 b^2 \sqrt {a x+b \sqrt {x}}}{4 a^4}-\frac {35 b \sqrt {x} \sqrt {a x+b \sqrt {x}}}{6 a^3}+\frac {14 x \sqrt {a x+b \sqrt {x}}}{3 a^2}-\frac {4 x^2}{a \sqrt {a x+b \sqrt {x}}} \]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 139, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.316, Rules used = {2018, 668, 670, 640, 620, 206} \begin {gather*} \frac {35 b^2 \sqrt {a x+b \sqrt {x}}}{4 a^4}-\frac {35 b^3 \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {x}}{\sqrt {a x+b \sqrt {x}}}\right )}{4 a^{9/2}}-\frac {35 b \sqrt {x} \sqrt {a x+b \sqrt {x}}}{6 a^3}+\frac {14 x \sqrt {a x+b \sqrt {x}}}{3 a^2}-\frac {4 x^2}{a \sqrt {a x+b \sqrt {x}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 620
Rule 640
Rule 668
Rule 670
Rule 2018
Rubi steps
\begin {align*} \int \frac {x^2}{\left (b \sqrt {x}+a x\right )^{3/2}} \, dx &=2 \operatorname {Subst}\left (\int \frac {x^5}{\left (b x+a x^2\right )^{3/2}} \, dx,x,\sqrt {x}\right )\\ &=-\frac {4 x^2}{a \sqrt {b \sqrt {x}+a x}}+\frac {14 \operatorname {Subst}\left (\int \frac {x^3}{\sqrt {b x+a x^2}} \, dx,x,\sqrt {x}\right )}{a}\\ &=-\frac {4 x^2}{a \sqrt {b \sqrt {x}+a x}}+\frac {14 x \sqrt {b \sqrt {x}+a x}}{3 a^2}-\frac {(35 b) \operatorname {Subst}\left (\int \frac {x^2}{\sqrt {b x+a x^2}} \, dx,x,\sqrt {x}\right )}{3 a^2}\\ &=-\frac {4 x^2}{a \sqrt {b \sqrt {x}+a x}}-\frac {35 b \sqrt {x} \sqrt {b \sqrt {x}+a x}}{6 a^3}+\frac {14 x \sqrt {b \sqrt {x}+a x}}{3 a^2}+\frac {\left (35 b^2\right ) \operatorname {Subst}\left (\int \frac {x}{\sqrt {b x+a x^2}} \, dx,x,\sqrt {x}\right )}{4 a^3}\\ &=-\frac {4 x^2}{a \sqrt {b \sqrt {x}+a x}}+\frac {35 b^2 \sqrt {b \sqrt {x}+a x}}{4 a^4}-\frac {35 b \sqrt {x} \sqrt {b \sqrt {x}+a x}}{6 a^3}+\frac {14 x \sqrt {b \sqrt {x}+a x}}{3 a^2}-\frac {\left (35 b^3\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {b x+a x^2}} \, dx,x,\sqrt {x}\right )}{8 a^4}\\ &=-\frac {4 x^2}{a \sqrt {b \sqrt {x}+a x}}+\frac {35 b^2 \sqrt {b \sqrt {x}+a x}}{4 a^4}-\frac {35 b \sqrt {x} \sqrt {b \sqrt {x}+a x}}{6 a^3}+\frac {14 x \sqrt {b \sqrt {x}+a x}}{3 a^2}-\frac {\left (35 b^3\right ) \operatorname {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt {b \sqrt {x}+a x}}\right )}{4 a^4}\\ &=-\frac {4 x^2}{a \sqrt {b \sqrt {x}+a x}}+\frac {35 b^2 \sqrt {b \sqrt {x}+a x}}{4 a^4}-\frac {35 b \sqrt {x} \sqrt {b \sqrt {x}+a x}}{6 a^3}+\frac {14 x \sqrt {b \sqrt {x}+a x}}{3 a^2}-\frac {35 b^3 \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {x}}{\sqrt {b \sqrt {x}+a x}}\right )}{4 a^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.08, size = 64, normalized size = 0.46 \begin {gather*} \frac {4 x^{5/2} \sqrt {\frac {a \sqrt {x}}{b}+1} \, _2F_1\left (\frac {3}{2},\frac {9}{2};\frac {11}{2};-\frac {a \sqrt {x}}{b}\right )}{9 b \sqrt {a x+b \sqrt {x}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.52, size = 119, normalized size = 0.86 \begin {gather*} \frac {35 b^3 \log \left (-2 a^{9/2} \sqrt {a x+b \sqrt {x}}+2 a^5 \sqrt {x}+a^4 b\right )}{8 a^{9/2}}+\frac {\sqrt {a x+b \sqrt {x}} \left (8 a^3 x^{3/2}-14 a^2 b x+35 a b^2 \sqrt {x}+105 b^3\right )}{12 a^4 \left (a \sqrt {x}+b\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.06, size = 503, normalized size = 3.62 \begin {gather*} \frac {\sqrt {a x +b \sqrt {x}}\, \left (-120 a^{3} b^{3} x \ln \left (\frac {2 a \sqrt {x}+b +2 \sqrt {\left (a \sqrt {x}+b \right ) \sqrt {x}}\, \sqrt {a}}{2 \sqrt {a}}\right )+15 a^{3} b^{3} x \ln \left (\frac {2 a \sqrt {x}+b +2 \sqrt {a x +b \sqrt {x}}\, \sqrt {a}}{2 \sqrt {a}}\right )-240 a^{2} b^{4} \sqrt {x}\, \ln \left (\frac {2 a \sqrt {x}+b +2 \sqrt {\left (a \sqrt {x}+b \right ) \sqrt {x}}\, \sqrt {a}}{2 \sqrt {a}}\right )+30 a^{2} b^{4} \sqrt {x}\, \ln \left (\frac {2 a \sqrt {x}+b +2 \sqrt {a x +b \sqrt {x}}\, \sqrt {a}}{2 \sqrt {a}}\right )-60 \sqrt {a x +b \sqrt {x}}\, a^{\frac {9}{2}} b \,x^{\frac {3}{2}}-120 a \,b^{5} \ln \left (\frac {2 a \sqrt {x}+b +2 \sqrt {\left (a \sqrt {x}+b \right ) \sqrt {x}}\, \sqrt {a}}{2 \sqrt {a}}\right )+15 a \,b^{5} \ln \left (\frac {2 a \sqrt {x}+b +2 \sqrt {a x +b \sqrt {x}}\, \sqrt {a}}{2 \sqrt {a}}\right )-150 \sqrt {a x +b \sqrt {x}}\, a^{\frac {7}{2}} b^{2} x +240 \sqrt {\left (a \sqrt {x}+b \right ) \sqrt {x}}\, a^{\frac {7}{2}} b^{2} x -120 \sqrt {a x +b \sqrt {x}}\, a^{\frac {5}{2}} b^{3} \sqrt {x}+480 \sqrt {\left (a \sqrt {x}+b \right ) \sqrt {x}}\, a^{\frac {5}{2}} b^{3} \sqrt {x}+16 \left (a x +b \sqrt {x}\right )^{\frac {3}{2}} a^{\frac {9}{2}} x -30 \sqrt {a x +b \sqrt {x}}\, a^{\frac {3}{2}} b^{4}+240 \sqrt {\left (a \sqrt {x}+b \right ) \sqrt {x}}\, a^{\frac {3}{2}} b^{4}+32 \left (a x +b \sqrt {x}\right )^{\frac {3}{2}} a^{\frac {7}{2}} b \sqrt {x}+16 \left (a x +b \sqrt {x}\right )^{\frac {3}{2}} a^{\frac {5}{2}} b^{2}-96 \left (\left (a \sqrt {x}+b \right ) \sqrt {x}\right )^{\frac {3}{2}} a^{\frac {5}{2}} b^{2}\right )}{24 \sqrt {\left (a \sqrt {x}+b \right ) \sqrt {x}}\, \left (a \sqrt {x}+b \right )^{2} a^{\frac {11}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{{\left (a x + b \sqrt {x}\right )}^{\frac {3}{2}}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2}{{\left (a\,x+b\,\sqrt {x}\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\left (a x + b \sqrt {x}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________